﻿@{
    ViewBag.Title = "Raktár";
}

@{ if (!User.Identity.IsAuthenticated) { Response.Redirect("~/Account/Login");} }
<div class="jumbotron">
    <h1>Raktár</h1>
</div>

<div class="row">
    <div class="col-md-4">
        <h2>Raktár létrehozása</h2>
        <p>
            @Html.ActionLink("Sorok", "Index", "Rows", null, new { @class = "btn btn-primary btn-large" })
            @Html.ActionLink("Oszlopok", "Index", "Columns", null, new { @class = "btn btn-primary btn-large" })
            @Html.ActionLink("Szintek", "Index", "Levels", null, new { @class = "btn btn-primary btn-large" })
        </p>
        <p>
            @Html.ActionLink("Helyek generálása", "CreateSpaces", "View_Spaces", null, new { @class = "btn btn-primary btn-large" })
            @Html.ActionLink("Raktár helyek", "Index", "Spaces", null, new { @class = "btn btn-primary btn-large" })
        </p>

</div>
    <div class="col-md-4">
        <h2>Bevétel</h2>
        <p>
            @Html.ActionLink("Bevétel", "Takein", "WarehouseItems", null, new { @class = "btn btn-primary btn-large" })
        </p>
        <p>
            @Html.ActionLink("Raktárcikkek", "Index", "WarehouseItems", null, new { @class = "btn btn-primary btn-large" })
        </p>
        <p>
            @Html.ActionLink("Szabad helyek", "FreeIndex", "Spaces", null, new { @class = "btn btn-primary btn-large" })
        </p>
        <p>
            @Html.ActionLink("Törölt cikkek", "DeletedIndex", "WarehouseItems", null, new { @class = "btn btn-primary btn-large" })
        </p>
    </div>
    <div class="col-md-4">
        <h2>Kivét</h2>
        <p>
            @Html.ActionLink("Kivétel", "TakeoutIndex", "WarehouseItems", null, new { @class = "btn btn-primary btn-large" })
        </p>
        <p>
            @Html.ActionLink("Kirakodó tér", "PickingStock", "Warehouseitems", null, new { @class = "btn btn-primary btn-large" })
            @Html.ActionLink("Komissió tér", "ReserveStock", "Warehouseitems", null, new { @class = "btn btn-primary btn-large" })
        </p>
    </div>
    <div class="col-md-4">
        <h2>Cikktörzs</h2>
        <p>
            @Html.ActionLink("Cikktörzs", "Index", "ItemStocks", null, new { @class = "btn btn-primary btn-large" })
            @Html.ActionLink("Cikk kategóriák", "Index", "ItemCategories", null, new { @class = "btn btn-primary btn-large" })
        </p>
        <p>
            @Html.ActionLink("Új cikk", "Create", "ItemStocks", null, new { @class = "btn btn-primary btn-large" })
        </p>
    </div>

</div>